package org.jsbd.boss.service;

import java.util.List;
import java.util.Map;

import org.jsbd.boss.common.DataGridModel;
import org.jsbd.boss.domian.MonitorConfigBean;

public interface IMonitorConfigService {

	/**
	 * 
	 * 保存监控配置
	 * @author <a href="mailto:zhouchao@zhexinit.com" >周超</a>
	 * @param MonitorConfig
	 */
	public void saveMonitorConfig(MonitorConfigBean MonitorConfig);
    /**
     * 
     * 更新监控配置
     * @author <a href="mailto:zhouchao@zhexinit.com" >周超</a>
     * @param MonitorConfig
     */
	public void updateMonitorConfig(MonitorConfigBean MonitorConfig);

	/**
	 * 
	 * 获取监控配置数据
	 * @author <a href="mailto:zhouchao@zhexinit.com" >周超</a>
	 * @param MonitorConfig
	 * @return
	 */
	public MonitorConfigBean getMonitorConfig(MonitorConfigBean MonitorConfig);

	/**
	 * 
	 * 根据参数获取对应的配置列表
	 * @author <a href="mailto:zhouchao@zhexinit.com" >周超</a>
	 * @param MonitorConfig
	 * @return
	 */
	public List<MonitorConfigBean> getMonitorConfigList(MonitorConfigBean MonitorConfig);

	/**
	 * 
	 * 根据参数获取对应的记录数
	 * @author <a href="mailto:zhouchao@zhexinit.com" >周超</a>
	 * @param MonitorConfig
	 * @return
	 */
	public Integer getMonitorConfigCount(MonitorConfigBean MonitorConfig);

	
	public Map<String, Object> getMonitorConfigListPage(DataGridModel page, MonitorConfigBean MonitorConfig);

	public void deleteMonitorConfig(MonitorConfigBean MonitorConfig);
	
	public Map<String,String> getAllMonitorConfigMap();
	
	/**
	 * 根据itemKey更新itemValue
	 * updateMonitorConfigItemValue:TODO 请描述该方法是做什么用途的
	 * @author <a href="mailto:zhouchao@zhexinit.com" >周超</a>
	 * @param monitorConfig
	 */
	public void updateMonitorConfigItemValue(MonitorConfigBean monitorConfig);
	
	public boolean hasParam(String param);
	
}
